package com.xbongbong.pro.rabbitmq.binders;

import com.xbongbong.pro.rabbitmq.constant.AIBinderConstant;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.stereotype.Service;

/**
 * @Description: AI消息队列
 * @Author: jiping.yang
 * @Date: 2022-09-15  11:01
 * @version: v1.0
 **/
@Service("aiProducerBinder")
public interface AIProducerBinder {

    /**
     *  AI 发送消息
     */
    @Output(AIBinderConstant.AI_OUTPUT)
    MessageChannel aiOutput();
}
